import {Service} from "adajs";
import ImageList from "../../../../controls/lists/image";

class LodgeService extends Service {
    defaultData() {
        return {
            list: {
                url: "/api/cms/cmsArticleCache/queryPage",
                type: ImageList,
                parameter: {
                    siteId: "cyjlgb",
                    columnId: "COLUMN_INFO_T"
                }
            }
        }
    }

    onupdate(current, data) {
        Object.assign(current, data);
    }
}

export default LodgeService;